package com.peas.platform.module.icims.expenditure.basal.enums;

import com.peas.platform.common.core.enums.BaseEnum;
import com.peas.platform.common.core.enums.CommonElType;

public enum ExpenditureBusinessCardType implements BaseEnum {

    salary("1", "工资卡", CommonElType.primary),
    debit("2", "储蓄卡", CommonElType.warning),
    credit("3", "信用卡", CommonElType.success),
    ;

    private final String key;
    private final String value;
    private final CommonElType elTagType;

    ExpenditureBusinessCardType(String key, String value, CommonElType elTagType) {
        this.key = key;
        this.value = value;
        this.elTagType = elTagType;
    }

    @Override
    public String getKey() {
        return this.key;
    }

    @Override
    public String getValue() {
        return this.value;
    }

    @Override
    public CommonElType getElTagType() {
        return elTagType;
    }

}
